import request from '../utils/Request'

export function saveOne(data) {
  return request.fetch({
    url: 'shopReg/saveUserAndShop',
    method: 'post',
    data: data
  })
}

export function saveShopPassword(data) {
  return request.fetch({
    url: 'shopReg/saveShopPassword',
    method: 'post',
    data: data
  })
}
